package br.com.ps.bombertournament.game;

import br.com.ps.bombertournament.App;

import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.InputProcessor;

public class BattleInputProcessor implements InputProcessor {
	
	@Override
	public boolean keyDown(int keycode) {
		Gdx.app.log(App.name, String.format("[BattleInputProcessor.keyDown] %s", keycode));
		return false;
	}

	@Override
	public boolean keyUp(int keycode) {
		Gdx.app.log(App.name, String.format("[BattleInputProcessor.keyUp] %s", keycode));
		return false;
	}

	@Override
	public boolean keyTyped(char character) {
		Gdx.app.log(App.name, String.format("[BattleInputProcessor.keyTyped] %s", character));
		return false;
	}

	@Override
	public boolean touchDown(int x, int y, int pointer, int button) {
		Gdx.app.log(App.name, String.format("[BattleInputProcessor.touchDown] {x:%s, y:%s, pointer:%s, button:%s}", x, y, pointer, button));
		return false;
	}

	@Override
	public boolean touchUp(int x, int y, int pointer, int button) {
		Gdx.app.log(App.name, String.format("[BattleInputProcessor.touchUp] {x:%s, y:%s, pointer:%s, button:%s}", x, y, pointer, button));
		return false;
	}

	@Override
	public boolean touchDragged(int x, int y, int pointer) {
		Gdx.app.log(App.name, String.format("[BattleInputProcessor.touchDragged] {x:%s, y:%s, pointer:%s}", x, y, pointer));
		return false;
	}

	@Override
	public boolean touchMoved(int x, int y) {
		Gdx.app.log(App.name, String.format("[BattleInputProcessor.touchMoved] {x:%s, y:%s}", x, y));
		return false;
	}

	@Override
	public boolean scrolled(int amount) {
		Gdx.app.log(App.name, String.format("[BattleInputProcessor.scrolled] {amount:%s}", amount));
		return false;
	}

}
